﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXQ.Common.Web
{
    public enum UserControlRenderingPropertySource
    {
        Form,
        QueryString
    }

    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true, Inherited = true)]
    public class UserControlRenderingPropertyAttribute : Attribute
    {
        string _key;

        public string Key
        {
            get { return _key; }
            set { _key = value; }
        }

        UserControlRenderingPropertySource _source;

        public UserControlRenderingPropertySource Source
        {
            get { return _source; }
            set { _source = value; }
        }
    }
}
